var px2rem = require('postcss-px2rem');
module.exports = {
    lintOnSave:false,
    css: {
        loaderOptions: {
          postcss: {
             plugins:[px2rem({remUnit: 375/10})] //375是设计稿宽度
          },
        }
    },
    devServer:{
      proxy:{
        "/api":{
          target:'http://39.98.123.211',
        },
        "/wangyi":{
          target:'https://m.you.163.com',
          pathRewrite:{
            '^/wangyi':''
          }
        }
      },
    }
}
